<template>
  <expression ref="my-cp" />
</template>

<script>
import Expression from './差值表达式.vue';

export default {
  components: {
    Expression,
  },
  mounted () {
    // 差值表达式的组件实例
    // console.log(this.$refs['my-cp'].msg);
    this.$refs['my-cp'].msg = 'hello world';
  },
}
</script>

<style scoped>

</style>